package com.neuedu.web;

import com.neuedu.pojo.Userinfo;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet(name = "UpdateUserInfoServlet",urlPatterns = "/go/updateUserInfo")
public class UpdateUserInfoServlet extends HttpServlet {
    protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String email = request.getParameter("email");
        String nickName = request.getParameter("username");
        String sex = request.getParameter("sex");
        String city = request.getParameter("city");
        String sign =request.getParameter("sign");
        Userinfo userinfo =new Userinfo();

    }

    protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {

    }
}
